package com.ruoyi.lhky.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.lhky.mapper.V4Mapper;
import com.ruoyi.lhky.pojo.V4;
import com.ruoyi.lhky.util.R;
import org.springframework.stereotype.Service;

@Service
public class V4Service extends ServiceImpl<V4Mapper, V4> {

    public R addV4(V4 v4) {
        boolean result = save(v4);
        return new R(result, result ? "新增成功" : "新增失败");
    }
}
